package com.ruoyi.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.system.domain.BdmMemberLevel;

import java.util.List;

/**
 * 会员等级Mapper接口
 * 
 * @author ruoyi
 * @date 2024-12-07
 */
public interface BdmMemberLevelMapper  extends BaseMapper<BdmMemberLevel>
{
    /**
     * 查询会员等级
     * 
     * @param id 会员等级主键
     * @return 会员等级
     */
    public BdmMemberLevel selectBdmMemberLevelById(Long id);

    /**
     * 查询会员等级列表
     * 
     * @param bdmMemberLevel 会员等级
     * @return 会员等级集合
     */
    public List<BdmMemberLevel> selectBdmMemberLevelList(BdmMemberLevel bdmMemberLevel);

    /**
     * 新增会员等级
     * 
     * @param bdmMemberLevel 会员等级
     * @return 结果
     */
    public int insertBdmMemberLevel(BdmMemberLevel bdmMemberLevel);

    /**
     * 修改会员等级
     * 
     * @param bdmMemberLevel 会员等级
     * @return 结果
     */
    public int updateBdmMemberLevel(BdmMemberLevel bdmMemberLevel);

    /**
     * 删除会员等级
     * 
     * @param id 会员等级主键
     * @return 结果
     */
    public int deleteBdmMemberLevelById(Long id);

    /**
     * 批量删除会员等级
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteBdmMemberLevelByIds(Long[] ids);
}
